﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="InfoStuffStore.FormDefault" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="content">
        <asp:DataList ID="GridProductList" runat="server" RepeatColumns="3" 
            RepeatDirection="Horizontal">
            <ItemTemplate>
                <div class="col col_14 product_gallery">
                    <a href="../Product.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "products_id")%>">
                        <img src='<%# DataBinder.Eval(Container.DataItem, "external_url")%>' alt="Product image" style="width:150px; height:150px;" /></a>
                    <h3>
                        <%# DataBinder.Eval(Container.DataItem, "products_name")%></h3>
                        Manufacturer: <%# DataBinder.Eval(Container.DataItem, "BrandName")%>
                    <p class="product_price">
                        GBP <%# DataBinder.Eval(Container.DataItem, "products_price")%></p>
                    <a href="../Product.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "products_id")%>" style="float:right; font-size:11px; font-weight:bold; color:Green;">More Details>></a>
                </div>
             
            </ItemTemplate>
        </asp:DataList>
       
    </div>
</asp:Content>
